Updating existing calls for changed interfaces
When opening the FBD-editor, the →calls of →blocks are automatically updated (also known as a quick fix) in the following cases, if the interface for blocks has been changed in the interface editor:
-
An alternative name has been defined for the block.
-
The display of the in-/outputs have been changed: Now the names are either displayed or not.
-
If there is sufficient space in the drawing field for the changed call:
-
An in-/output is located on a different position/orientation than it is displayed in the call for name.
-
A new in-/output exists but is not displayed in the call.
-
Good to know |
---|
The automatic update is not provided in all variants of Neuron Power Engineer. So this feature is not available when creating safety-relevant applications (see "More features for safety-relevant applications"). In this case, update the changed interface yourself by selecting the call and pressing Ctrl+1 or the F5-key. For the updating procedure, Neuron Power Engineer assists you as follows:
|
The calls of blocks are not automatically updated in case of the following interface changes:
-
Only the interface has been resized. Solution: Resize the call directly within the drawing field. If this is not possible, best practice is to delete the call and to create a new call in the drawing field (e.g. by dragging from the project explorer).
-
The display of the instance name has been changed. Solution: Show or hide the instance name directly within the drawing field.
-
Existing in-/outputs have been deleted (details: see "Deleting FBD-elements or already declared variables"). Solution: Delete the faulty lines that are connected with a deleted in-/output. Then select the faulty block call and press Ctrl+1 or the F5-key to update the call.
-
An existing in-/output has been deleted. Afterwards the name of the input has been used for creating a new output (or vice versa). Example: The input
Pulse
has been deleted and then the outputPulse
has been created. Solution: Delete all lines that are connected with this in-/output. Then select the faulty block call and press Ctrl+1 or the F5-key to update the call. -
A value field within the interface has been added or deleted. Solution: Replace the existing call by a newly inserted call.
-
A named value has been entered in the value field within the interface. But this named value does not exist in the declaration of the named data type anymore. Solution: Correct the content of the value field within the call so that the value field contains an existing named value. If this is not possible, replace the existing call by a newly inserted call or enter a literal within the value field.
It is also possible to replace the call by a call of a different block (see "Replacing the call of a block").